Add cors middlewares to y-provider server. It will control how clients connect to the server with http requests.
Many routes were in the server.ts file, now they are in their own files in the handlers folder. The server.ts file is now AppServer that handles the routes. We split as well the tests.