Boilerplate code for a flask app