switched views to components dir