Refactor the tutorial into its own document and clean it up