Add logical nodes and create local template (latter may not be needed at the moment)