structure refactory to change relationchip between node, nodeConnection
and connection