Adds a class for making plots from the SDF-editor and makes it and the SDF-editor interact