Add ValidatorInterface interface and BaseValidator class