code refactoring, starts AI implementation, adds game saving