Restructure with app subdirectory
Split the flaskr file out into separate files