Added event page
Refactored server.js and added npm package file