Changing Controller to be called Mediator