provides simple command/event handling for evented systems like cqrs