LMDB interface, open/close env and db's