change init to getInstance and update how pathshape data is structured to allow for eventually getting point at position along a path