Moved main method to pdoTools from pdoFetch