Added SmartAI.java