Validation class created