removed cm_agent with db connections