created a new loader for template and css files