Moved deviced selection to SPI class
Merged SPI classes into single file