keep CID in activities agent
Adding logging agent and some logging in other agents