Move attribute code to DataCube_Component; add attribute and measure to compare