updated Application.scala