Creates the MemberGroupRepository and supporting models.