Improved functions and SVG

Improved the BBC import and cache function, started some SVG work.