Adding leveldb for document store