Add ControllerFactory and OnepanelController