refactor(data Sync):Extract msgDist logic from AgentDownloadService  to AgentMsgDistService