add Swarm class