Changed active_skills to take a map of Agent* to Primitive* instead of a vector of pairs.
Added skeleton of resource management, task state tracking, and outline of actionrecord processing to simulator