started work on refactoring and improving wolf ai