changed Controller::$clazz to be protected and added getter
Refactored theme
changed JsonView::$contentType to be protected