added registry to Application.scala