added svg templating, part 1