DISTRIBUTIVE GROUPOIDS IN KNOT THEORY