adding new graphe and better separation of files