Make words component become independent of main screen
Improve code usability with less unnecessary function