offline leveldb library with sync feature