Abstract footer to index

Move footer information to index to make creating new views easier. Also
move more things into index to make views more generic.