Refactor how the app is being setup

Added manage script to streamline the application management,
including running the app and managing database.

Switched to Flask-SQLAlchemy as it provides lazy initializing
the connection of the database. models.py was updated.

Application configuration was refactored and introduced configuration
module to load the configuration from multiple places.

Updated requirements.txt to reflect the new dependencies.

Added .travis.yaml for CI testing