Validate class group model

closes #54