updated libraries, adapted code
scala 2.10.3, updated libraries