revamp our lmdbwrapper to deal with the now known lmdb semantics