start adding a level-db-based cache