Foundations of Theoretical Soil Mechanics