created OO wrapper for LMDB environment type