The code developed in part one of the tutorial http://dublinsam.com/forum-tutorial-one