#189 moved pubSub from modules