use leveldb instead of mongodb