-JSONRPC add Mediator class