some work done on building and changing keygroups, still a long way to go