added class mediator and abstract mediator to check the new positions of the figures