add EventEmitter from firefly lib.