new autocorrector class