Moved SPI into lib dir