Store controllerand view index