SMS: A modern approach to functional integration