added javascript xlink to do pan and zoom
fixed road segment plotting, added one way street to sample
refactoring