allow creation of mongo instance