refactor the network object; add arpa calculator