Helper class for PHP PDO