Added FutureUtils (equivalent of Scala's Future object) and implemented traverse method