add support for groups in groups
updated sample UI to allow groups in groups