Moved the validator class to its own file