renamed templatefile,mod registerValidators,add new validators