object-related refactoring, svg namespace fix, svg is now drawn