The Emergence of Organizations and Markets