initial commit of working code for sets, groups and users