moved mixins to individual files. added visualiser mixins to draw the nodes