Moved defines and SPI import into CPP. These are not required inside the header.
implemented Wear Leveler
WearLeveler bugfixes
added some testcode