Adding event and command listeners with mediator to broadcast to them