Enabled CORS
Added configuration file support