Adding connection manager