refactoring in views: added a view helper. added tabs in the asset view.