SMS: Theoretical evolutionary ecology