New class for adding json-rpc server