Separating and makefiling the STM code.