Major changes to the main function, adding clock setup and SPI setup
functions for MSP430.