[Added] group command for pets

Change-Id: I1a30ccdbf23e9afba2ac195f471e372dd3c1bffb