Add AbstractValidator class and StringLength class