added constraintDynamics class and 'hanging' app