replaced _extract_words with np.unique.
cleaned up add_metadata
merged extract_words into develop.