added client module for pregel