An event based mediator object for component interaction