Refactor: moving cors middleware to its own file in example/cors/