SMS: Foundations of Statistical inference