added SPI header and updated file headers