Added function AI, MasterAI function
Added number of cores to AI feature