Made Hadoop thread safe. Improved to use Akka framework :)