adding views and models