Use Flask-Script manager.
Merge pull request #2 from sthoma/flask_manager

Use Flask-Script manager.