add templates to phar archive