Added hard roots for including template files.
Added extension support for template drawing.