API: Added CORS support