SnapConstraint class added

Adds the SnapConstraint class and updates the build files.