Revert "Revert "Changed how words are added to db.""

This reverts commit f89c8e7e40ef0dfa0f3ecca3735a16254846e685.