Added class Agent