Discrete and continuum spectra in the unified shell model approach.