Modified web.xml so to set index.xhtml as the welcome file
Added index.xhtml and template.xhtml
Modified the POM in order for the GlassFish plugin to run fine.