Adding a Flask app to serve stats