Rename constant value.
http://docs.scala-lang.org/style/naming-conventions.html#constants_values_variable_and_methods
Change code to extract uid, iid and rate values.
Replace for to foreach.
Change Thread and Runable to scala Future.
Replace def main to scala.App
http://www.scala-lang.org/api/current/index.html#scala.App
Revert version of org.xerial.sbt to 0.2.4 for use with sbt 0.12