Distributed command and event bus for the Synapse framework