make template use classes, not IDs since there are more than 1
initial list view code

Refs #37