Storage and organization of knots