Changed index.js to server.js to conform to aws standard naming conventions.