The free reaction matrix as a residual interaction in finite nuclei