Foundations of Real-World Economics