finished PDO SQLite integration