* added support for columns count tag
* added support for primary key (section and key name)
* include vector if a table "has many"
* misc minor refactoring and clean up