Allow custom view class in config using resources.view.class