Setting up view structure
index view