SVG charts code tidied up, refactored, file names changed