Retrying the tutorial from http://flask.pocoo.org/docs/tutorial/introduction/