Implementing Event Replay Agents in Enterprise Systems