Add MVC Model object Photos with mCount and mItems and use it.

Reference
 http://forums.bignerdranch.com/viewtopic.php?f=425&t=9473