Added support for CORS headers

And fixed Windows path issue