Task 2. Mediator source code added