The International Atomic Energy Agency was set up by the United Nations in 1957 as the so-called " Atoms for Peace " program , to promote the safe and peaceful use of nuclear energy .