Define main view layout