SVG export utility
Moved the drawing code to Path and Group.