Add Flask application file and set_env sample for database