How can I implement Agent without using MFC? I have already created by agent.