Updated SQLite to use PDO