Cleanup; remove obsolete code.
Added origin of this class.
Issue #161: further work on adding and removing of groups.