add event handling to Photo
add Photo::all property
prefer to use Photo::all in PhotosListView