Abstracted the PDO class and added the Sql1999 class.