added mongodb wrapper