Add base support for cohorted group configurations

TNL-649
indentation starts looking kinda wonky around here, is this intended?