Change class name, validateToDo name and refactor validateName