add status code
tidy ner cody
tidy the example code
fix memory leak in parser
add rare-feature-threshold config item to .cnf files