moved sequence alignment and stemming to Machine