Theory of Finite Fermi Systems and Applications to Atomic Nuclei