added agent apiclient
added missing files