Semiclassical Theory of Atoms