basic flask app with basic database