wiring up list controller and template