T1 add option for multiple groups

Now supports an options to create multiple groups blocks.