add get all groups

I think we need a better way to manage configs than this. Perhaps `confmodel`? I think that sort of thing is out of scope for this PR, though.