+ fix several memory leak
+ first working draft of SPI Hal