new parser and change kjparse.sh to use new parser