Implement the event system in the backend and modules.