Architecture of the Mediator Head module