Added support for changing DB class for connection manager