Add sgroups command for generating security groups