Updated database tablenames and idfieldnames to be static members of the appropriate classes
Changed all references in the code to these properties to use the static members.