Implementing MediatorImpl
Revert "Implementing MediatorImpl"

This reverts commit 0d06c3b1a7a86cde450cf8bca4427571ce91369f.
Implementing mediator