adjust swarm v0.3 style
changed message queue class to Emitter
refine target mechanism