Unit tests completed, started work on cleaning up AI.