Basic implementation.  Works on OSX needs to be tested on Linux where magnetic reader acts as dev device instead of keyboard.