Adding EventEmitter

Adding EventEmitter lib to do simple events