add a demo of mediator pattern.