Clean up, get rid of unnecessary View class

* View class and it's subclasses are replaced with corresponding
methods.
* Clean up, add docstrings, etc...