split main view in smaller templates