Seperated server.js into tcpserver.js and webserver.js. Made changes to tcpserver.js