A Scala implementation of Rack