add Template.js,change Application to Laynode