class to read spectrum. Seems to be working. look inside file for example usage. will add coadd function later.