Scala-based controller for warp project