Implemented AgentMessage and refactored CuratorAgent