XML Serialise AI

Changed the AI Factory and AI to save and load using Serializer