SMS: Modeling complexity in economic and social systems