added routes and server