fixed line class, changed variables to private in GeoShapes