Revised AgentJBaseClass

This is updated to reflect the use of the utility functions from their own class