AIswarm logic move to server