Updating for new programmatic swarm interface.
Merge pull request #1 from rhyolight/update-programmatic-swarm

Updating for new programmatic swarm interface.