SMS: Foundations of potential theory