added WriteGeoClass, extended ReadGeoClass