Fixed the commit
new ping command
Minor fixes
Fixed tests and refactor for remote agents concept
Âupdate to reflect changes to agent in core, Agent reference now LocalAgent reference etc.
merge fix