Code for Table Class
Merged.