Created IAgent interface and AgentSender class and unit tests.
Integrated IAgent into Worker and Agent