move init controls in main controller