EventEmitter library, index boilerplate