scaffolding for list and detail views+templates