Reverted the AIFactory