SMS: The theory of rings