Refactored to fit new implementation of IPub
Refactored loadPubList according to the new implementation of IPub