Struct the Flask app as a module