Added wrapper for CORS handling
Added wrapper for CORS handling