made AI core conform to the same structure as the other cores
Merge pull request #5 from GSP420/ai_contructor_change

made AI core conform to the same structure as the other cores