Added Flask Blueprints to create views

It is now much easier to upgrade the API version and keep things
modular.