Fixes for missing files: swap_pins, spi_mod and spi_slv_sel

Fixed missing files and directories - this should resolve reported issues.