Data agent update

Updates data agent and handler framework, provides unit and integration tests for the data agents and handlers.