Add base support for cohorted group configurations

TNL-649
I don't really want to mess with the existing randomization scheme in this change.