Added ai_core.js, main.js