adding equals() and hash() into RegisteredAgent before forgeting them
Adding the Agent Controller (including test)