adds new Constraint object
refactored to use COnstraint object vs plain json or vfl