Use tab indentation in template files.
Fix component constructor declaration.
Refactor naming scheme of template and output files.