Added replay application in Scala for testing