Made some cleanup in the code. Added more SignalR support. The agent will not ask for activiteid, the Controller Hub will give the agenst tasks to perform.