To create a new Atom, you specify all the names in the constructor, and then add the bonds to the atom one at a time using the add_bond routine. Later, when the molecular structure has been analyzed, the flags indicating the residue type, fragment index, etc. must be set (they are currently public members, so they can be accessed directly).