add connection manager class