wrap the views in classes
render template in the parent class
extract symbols to class
rename speciescode to code
rename habitatcode to code
move more symbols to class level; reorder queries
move queries to common class
rename some template variables
flatten some template variables
split up the context generation
normalize some more
deduplicate code, it's now identical
common index template
variable for name of records template
split index template among more blocks
Merge branch 'class-index-view'