Widget

* Cleanup code
* Indentation in the classes are reduced to a common format
* Added default view for widgets
* Fixed default param in `Widget::render()` method

See diff & comments