get rid of the LocationDAO, combine the Locations and Photos table in mysql database and finish the PhotoDAO