Refactor initialization of Interaction from interaction (src) into main (node).