reduce constructor
fix level assignment and termFreq now merge correctly
add path to constructor and fix path tracing
test ok
ignore IDEA files