Created mediator for custom events