switch to a Flask app, bootstrap stuff