Started constraints.

Added PivotJoint and constraint struct,interface.
Also added some comments.