a reimplement of leveldb, change it dependency from libc malloc to storemem