Giving $app as an argument, simplifying the PDO
README