inital commit PgmNetworkFactor.py