Ab adapter spec for the command to run
Clean obsolete stuff
update swarm to new adapter/command structure