created the router module, injected into server.js pathname variable and index.js
Request handlers made and integrated into router and server modules