Lesser code doubling: using getIDs now.
Name getters added
Fixed tbl names