added save and load molecules, as well as JSON output of atoms and molecules