AICore: added setControl and updateGrid