updated to ThreeJS R69 and restructuration of code (HGraph.js well defined