End of Step 4 - http://flask.pocoo.org/docs/tutorial/dbcon/#tutorial-dbcon
End of Step 5 - http://flask.pocoo.org/docs/tutorial/views/#tutorial-views
End of Step 6 - http://flask.pocoo.org/docs/tutorial/templates/#tutorial-templates