bugfix for auto_connect port removal
replacing flotr2 library with d3 library
initial changes related to D3