initial spi code

starting to add support for spi