API for a simple event bus
Implementation for the event bus