Code from the end of the tutorial plus an extra example project