add words to class variable

- add words to class variable
- add create_words method
- add try/except in extract_words method to escape UnicodeDecodeError
remove unused variable
refactor words variable