Trace class
class Ai (might rename later)
mv'ed global trace into Ai
ai.hq
ai.power
ai.groups
ai.stalled
commands.resources