refactoring of code to allow for compilation into emebedded enviorment that doesnt support dynamic memory, working to the point of getting the correct TAPID code from a Cortex M4