swarm: create swarm_utils (refs #65)