Abstract PDO-database class for PHP