Adding PhotoFile and PhotoThumb classes.