Changed layouts so they do not use app and instead are passed the models array.
Changed serialize() in SummaryView to make less property lookups.