initial work on EventEmitter class