Webmachine in Scala