Fixes #57 - Add SVG Scaling.
refactor SVG creation code to use API in core