finished draft of WordWiseTransform
optimized enrollment from a directory