added CORS support
preparing for release v0.1.2-beta