restarted development as a flask app