First version of a simple command/event message dispatcher.