Few- and many-body methods in nuclear physics