Agent class

imported the agent class