Few-body problems and nuclear astrophysics