Changed how the class Word looks (it now has only one word type, not
several) and did some performance updates to the database