base Flask app