Database adapter class extending PDO functionality