Add class encoded_multistring
Use encoded_multistring to manage input strings
Remove some unused methods
Combine segmenter with string_counter