move the sentence and word class to a new package