create a Photo class to store information on the photos, modify the JSON call to populate the photo details