Included socket.io module in the app; as a consequence, the way the app and server are initialized was changed. Also, the way the default landing page is retrieved was simplified by using res.sendfile()