described the mongo connection class