Renamed TestAgent class to Agent, changed method name from getValue to getIntValue
Renamed Agent object initialization from TestAgent
Changed object and method call names
Attempt to make api more generic