Minor tweaks to some comments and declarations
table config column names changes to match struct names
Reworked API documentation and renaming of some variables