Mediator Pattern example.