move storage.[ch] to server
import kvdb(default leveldb)