Add ArrayValidator class