New API for Constraint Programming