pass an adapter to the queen
clean up swarm spec
refactor adapter