creating controllers for each tab
reducing code in main controller
reducing code in main controller