added d3 service; initial cubism directive code