AICore: changed constructor to initialize