Working running game with AI and new changes.
Refactoring