ClientAgent: Create the ClientAgent class.