creating agentjob struct
finished agentjob struct
agent job cache creation
Deleting agent jobs working
added code to create jobs and execute correctly