separate class for PhotoDownload