Object oriented PDO class