public void addAgent(String key, GenericAgent agent) 
	{
		try 
		{
			if (agent instanceof Organization) 
				return;
			
			AgentRole role = agent.getAllAgentRoles().values().iterator().next();
			AgentController control = role.getOwner().getContainerController().acceptNewAgent(key, agent);
			//control.start();
			
			if( !control.getState().getName().equals("Active") )
				control.start();
						
			agents.put(key, agent);
		} 
		catch(ControllerException exception)
		{
			exception.printStackTrace();
		}
		catch(RuntimeException exception)
		{
			exception.printStackTrace();
		}
	}