Decoupled the routes from the server with success