Add a 'type' property to the PhotoCollection class in the view-based example.
Tidy up model creation code in view-based example.
Data model changes in the view-based example.