Further AI mangling

I might have made it worse.
AI updates

AI and sprite deserialisation moved back to the resources directory.