converted more over to multiple groups, I think all the main functions exept get/setgroupweight are done.