restructured d3 directory