Database abstraction class based PDO