Adding apply template for minerva.  Added rudimentary visual tree visualization.