Setting up the D3 controller for real data
Added some classes to support real data from JSON