very simple lmdb wrapper