add cluster library
build.scala
modified examples
build