Add API + tests for Swarm

if you're actually calling `_swarm_breaker` from outside the class, it should not be private, rename it to `swarm_breaker`