Validator Class

added validator statements
:)