I actually have a link at the bottom of the post, where it says 'Full code on github': https://github.com/emil10001/O...
I also have another post that uses Otto: http://www.recursiverobot.com/...
Code for that other post is here: https://github.com/emil10001/O...