Algorithms For Dynamic And Distributed Networks : Shortest Paths, Betweenness Centrality And Related Problems