Got the api agent instance being generated correctly. Looks good to go, next up is xml parsing