Simplify view structure

* Adds the commonplace logging module. It's nicer to not repeat prefixes.
* Simplifies the views to use a base view and extend from that. Adding the common methods to reduce repetition.