Change routes to be a module