Adding base code for MSP430