use mongo connector class