change classes' visibility, and printGeomeryInfo now uses the pipeline interface.