extensive rework to allow variable SPI speed as a parameter.
on the way to having a config file, but not quite yet.