Cleaning up the database driver class. Extracted a database assertor class