implemented Refreshing, saving changes, creating edges and vertexes. Undo/Redo is working too.