added comments to server.js