Added svg handling
Emptied styles
Refactored template module