Implementing the mediator pattern in the vendor service