cleaned up index.js of extraneous code
put server code back in index.js and got rid of server.js. also added a second page with the route /testpage