FWIW these are my notes which seem to cover the basics... https://gist.github.com/olivergeorge/8a04740bd3402a19849c367d817dde49