add method to connect two nodes
add autosaving to localstorage
use single template for nodes