Refactored word list generator in own class