Tiny implementation of Mediator pattern