Scala: Example class that returns a future