Made word and word list more generic.

This change permits a more generic {dictionary} markup in the description, which
can denote the source of the word.
Wrote App class.

This change defines and integrates the App class with the bin script.