Would love to see how this has panned out 2 years down the line, to see if maintaining the AI code turned out to be a problem.