added basic code to server.js and updated index
added basic code to server.js and updated index