Initial commit of the code as it is in the first draft of the tutorial