base leveldb usage included.