Add metadata samples and templates loader.
JS style.