Creation of our data access object.

We've now created "PhotoDAO", where we've implemented all the methods we're going to need to read and write in the database. Every method is filled with comments that describe what the line does, which will come very handy in the future.