Add API + tests for Swarm

:+1: