AI complete. Ready for unit testing.