Added the validator

Added support for the validator, giving the net as input