update to Database class -- Nafiri & Grace grab this!

and minor changes to Photo class in my sandbox