The Medieval Origin of the Factory or the Institutional Foundations of Overseas Trade. Toward a Model for Global Comparison