move mixsegment from segment.cpp into mix_segment.h/cpp and utils.h
add query_segment.cpp/h
update testing in package.json
update readme.md
update changelog.md and tag