Changed DB engine to PDO