one more singleton removed
move json rpc handler from singleton to class instance