Generate events (with Emitter.Emit). Clients can register with Emitter.On("eventname", callback)