Updates, added visualization, added all primitives to XMLWriter class