refactored instructor/group association handling methods out of the 'save group' method. added code docs.