seperated web.js into web.js, requesthandlers.js, and server.js