Implemented an event listener interface for the controller to get notifications if something has changed.