Restructure

Move code related to the example Ninja theme to its own class. Contain
view related code in the view and not in a class. Turn theme hooks into
a scaffold instead of an example file.