updated npmingore and modified  server.js to work in cluster mode