Added a bunch of stuff
Added stuff from flask tutorial http://blog.miguelgrinberg.com/