move event emitter into tutorials