Changes data structure...

...and put the implemented SVG markup in a partial

Each graph type will have its own partial.
Move the building of the svn