developed server.js structure and connected app/routes.js in file