Started working on a mongo connected resource

Need to write tests