Break up the views into files.
Move code into proper places.