Adding the new framework navbar

Adding the new framework navbar and adding the support of template.