header template added to table components

+ documentation improvements
+ code cleanup
Merge pull request #26 from kashyap02004/master

header template added to table components