Validator class added, and edited comment section