Added SPI, random number generator, and tasks