refactoring of Mutation
refactoring of GraphRepresentation