Implementing Modules, Facade, Mediator architecture