Made Hadoop class as singleton