new leveldb interface.