adding views and a mongo db