added decompose agent component and fixed bug in creating new agentSystem from an exisiting agentSystem