A Theory of International Organization