swarm, particle - refactor configuration arguments