The first step of "agent" has almost completed ,just achieve the basic

function of agent.
Primarily rewrite my agent code refer to seniors' code,achieve the simple communication between the client and server.The next step is to achieve that the server can accepts task flows and then deal with fork and exec.