Scala back-end in progress