Updated package.json and added barebone event emitter