added a PDO database class