add validator
flags: add validate flag

This will allow the user to run a standalone validation.