Evolution of atomic theory