Use CM_ServiceManager to instantiate db clients

Part of cargomedia/roadmap#58