move akka-sample code from poccode to here