add home segment and segment sub controller.