Adds a Validator class
Merge pull request #61 from dastiii/validation

Adds a Validator class