Added SGroup and mset classes