Working mediator

Signed-off-by: Lahiru Chandima <lahiruchandima@Lahirus-MacBook-Pro.local>