Title: Spectral Theory of Localized Resonances and Applications