renamed the agent class to a more appropriate name