You will need to create a Table class, a Column (or Field) class, and a ColumnCollection class that holds Column objects.
I have some code that is close to what you need. It is pretty bare, and I think the loading of the columns will need to be worked a bit to work, but the main structure is there for you to get the concepts...