Make the SVG sample a functional app.