adding views + redefining  app configuration