Demonstration of Mediator Pattern