linting
Refactored view into common_view_lib