Switching to sqlite PDO