added leveldb key/value store