Added SD card & SPI code

Still being un-fucked from Peter's code