create node class
clean mediator class