The Foundational Function of Money