Adding the column group handling

Converting the table to use column group handling.
Merge pull request #47 from jadrake75/colgroup-conversion

Adding the column group handling