Add Swagger support. Fix CORS problem