add leveldb code as local database