Set up view structure