added template for nodes
added log system