Added class definitions to nodes

Removed the inline styling of nodes with classes, replaced with class
attributes and a common CSS Style section at the start of the SVG.
Added proper SVG namespace attribute