Refactoring-> put html code from the main.scala.html to the index.scala.html template.