Adds alternate templates..
Adds optional counting to list view
List view now uses smarty scope
Minor code cleanup and fixes