Added CORS support and test web client