routes now moved from server.js to routes.js