Basic structure for main layouts