Mediator and Singleton Pattern