move constraints in their module