Structural changes.

Broke API and streaming into seperate files. And added blueprint option on create_app

Application is now only created in the manager.py file. Major structural changes to underlying application structure. This will make adding new components slightly easier as well as testing.