1. Moved the SPI interfaces into the API module
2. Added SPI documentation