typo fixes in iso14443a code, added the missing "tools" directory, added initial elements for online/offline detection for commands.