Style and formatting fixes. Move the detail and list view templates.