reduce verbosity of read_class and improve robustness
improve efficiency of loading headers by creating a lazy spectra/header
loading class
only check for restf iif using restif