Consistently renamed 'agentClass' to 'agentType' and 'type'
updated readme