combined all the centralities in one class