renaming index.js to server.js for npm stanards compliance