Flask-Script integration

This implements easier script running with Flask-Script