Create Flask app and env