Base of CompLing library and the Text class. Interfaces and implementations for character analysis and their tests