incorporate mongowrap as library