Add CORS support for Flask app