correctly setting up the server as per the node book
exporting the server as a module