changed spi_init() to accept speed mode parameter
SD card specific commands moved to own files