Fix: correct a stupid mistake of writing the classmap inside a loop
add the quote_path option and update default template to use the quote_path variable