rename Record.name to Record.table, and add new Record subclasses to reflect the new schema