minor changes
Derivation of table name from class name now accounts for possible namespace prefixes