Register a compound

Draw it once; the name, formula and molar mass come from the editor.

Pattern: getName, getFormula and getSmiles on every change; a registration system stores the SMILES and the molfile, and shows the picture with getSvg.