add ai setting

seperate the ai numeric value from controller for a better extension