SMS: The mathematics of networks