Removes debug code
Adds snapping when editing physics and now stores physics in CCB