moved ICNS recognizer code into a class; also writing intervening unrecognized data