Some refactoring
HNMFrame to HNMContour