<NME> index.twig
<BEF> {% extends "_layouts/cp" %}
{% set title = "Generator"|t %}

{% import "_includes/forms" as forms %}

{% set tabs = {
    tab1: { label: "Raw Input"|t, url: url('generator') },
    tab2: { label: "Available Files"|t, url: url('generator/files') },
} %}

{% set content %}
} %}

{% set docsUrl = 'https://github.com/Pennebaker/craftcms-thearchitect/wiki' %}

{% set content %}
<div class="the-architect">


    {# Output of Submitted Data #}
    {% if result is defined %}
        <table class="shadow-box editable">
            <thead>
                <tr>
                    <th>Type</th>
                    <th>Name</th>
                    <th>Results</th>
                    <th>Errors</th>
                </tr>
            </thead>
            <tbody>
                {% for item in result %}
                {% if item.result %}
                    <tr class="success">
                {% elseif item.type == 'Group' %}
                    <tr class="warning">
                {% else %}
                    <tr class="error">
                {% endif %}
                        <td>{{ item.type }}</td>
                        <td>{{ item.name }}</td>
                    {% if item.result %}
                        <td class="action">{{ "Success"|t }}</td>
                    {% elseif item.type == 'Group' %}
                        <td class="action">{{ "Warning"|t }}</td>
                    {% else %}
                        <td class="action">{{ "Error"|t }}</td>
                    {% endif %}
                        <td>
                        {% if not item.result and item.type == 'Group' %}
                            <h6>Name</h6>
                            <ul>
                                <li>{{ "Group"|t ~ " \"" ~ item.name ~ "\" " ~ "has already been taken."|t }}</li>
                            </ul>
                        {% endif %}
                        {% if item.errors %}
                            {% for errType, errs in item.errors %}
        <h2><span class="light">{{ "Loaded"|t }}: </span>{{ filename }}</h2>
    {% endif %}

    {# Generator Input Form #}

    <form class="field" action="" method="post" accept-charset="UTF-8">
        <input type="hidden" name="action" value="generator/generate">
        {{ getCsrfInput() }}

        {# Text Area for Input Data #}
                {% endfor %}
            </tbody>
        </table>
    {% endif %}

    {% if filename is defined %}
            rows: 24
        }) }}

        <input type="submit" class="btn submit" value="Generate">
    </form>

{% endset %}
        {{ getCsrfInput() }}

        {# Text Area for Input Data #}
        {{ forms.textarea({
            name: 'json',
            class: 'nicetext code',
            value: (json is defined ? json : null),
            first: true,
            autofocus: true,
            rows: 24
        }) }}
        <hr>
        <div class="buttons clearafter">
            <input type="submit" class="btn submit" value="Construct">
        </div>
    </form>

</div>
{% endset %}

<MSG> Renamed to The Architect

<DFF> @@ -1,11 +1,11 @@
 {% extends "_layouts/cp" %}
-{% set title = "Generator"|t %}
+{% set title = "The Architect"|t %}
 
 {% import "_includes/forms" as forms %}
 
 {% set tabs = {
-    tab1: { label: "Raw Input"|t, url: url('generator') },
-    tab2: { label: "Available Files"|t, url: url('generator/files') },
+    tab1: { label: "Raw Input"|t, url: url('thearchitect') },
+    tab2: { label: "Available Files"|t, url: url('thearchitect/files') },
 } %}
 
 {% set content %}
@@ -58,10 +58,10 @@
         <h2><span class="light">{{ "Loaded"|t }}: </span>{{ filename }}</h2>
     {% endif %}
 
-    {# Generator Input Form #}
+    {# The Architect Input Form #}
 
     <form class="field" action="" method="post" accept-charset="UTF-8">
-        <input type="hidden" name="action" value="generator/generate">
+        <input type="hidden" name="action" value="theArchitect/construct">
         {{ getCsrfInput() }}
 
         {# Text Area for Input Data #}
@@ -74,7 +74,7 @@
             rows: 24
         }) }}
 
-        <input type="submit" class="btn submit" value="Generate">
+        <input type="submit" class="btn submit" value="Construct">
     </form>
 
 {% endset %}

Renamed to The Architect