added requires to server.js and port definitions