Reworked recursive discovery, added new bean

New bean for attack surface can be extended and we can examine links in
more detail.