Adds a Validator class
change gallery to not system module