fix gruntfile
more refactoring
add svg renderer