Planning And Control Of Swarm Motion As Continua