Adapted to use the KafNafParserPy and option to generate KAF/NAF