each activity sends message to agent.
added deploy goal.
added deploy goal