A MySQL database abstraction class using PDO