Add Flask-SQLAlchemy dependency
Change to application factory + blueprints pattern
Move methods from main.py to blueprints
Add PyYAML dependency
Add debug toggle via environment variable and uwsgi debug_server script
Merge pull request #1 from flexd/master

Switch over to application factory create_app and blueprints.