refactored some stuff; added ThinkingAI