Create main view