SMS: Introduction to astronomical spectroscopy