Merge pull request #368 from jialinsun/master

重构Agent， monitor handler代码
重构Agent datasender