Refactored View

The idea is to extract base view class that is not related to HTML or web in general and is suitable for extension and custom format rendering.