The classes that descend from the left side blue class are for temple, the classes descending from the right side class are for church. For example, Calvary: Light Cavalry and all the classes descending from it are for the temple - Heavy Cavalry and the all the classes descending from it are for the church.