Move QyncDB to upper layer.