Initial core code

Basic Spectra class and sphinx documentation.