add a Swarm.h file