refactor svg and sub packages 002