updated smarter movement
Ai as Class added, Movement as function of Ai added