Break up lmdb-wrap into different files