SMS: Microeconomic theory and applications