Restructuring the code to use blueprints

This is a flask thingy not sure what i gain from it yet!
Chapter 14 Refactoring Complete

This was a refactoring to take advantage of flask blueprints.