More geometries cleanups.
Rewritten GeometryCurve.
Continued rewritting Geometry classes.