Validation

Added validation class