Extension templating

Completed extension template loading functionality.