Base class for saving, deleting, comparing, and reading sub-classes which have corresponding tables from a PSQL database.