Adding support for groups to ford template

Change-Id: I2cf6f8fdac1a34d64a20767efdd5974108ee54cc