add feature for hardware SPI, plus add code for default lease times