Updating to use views and templates.

@chrismccord here it is 2!