Added mediator pattern code.