using flask-script for management commands, reorganizing the manage module