refactor(views): refactors the views.inc