Encapsulated strings into class Word for extended functionality