got rpc and leveldb working