Adding mongoose to modules