N-body and Solar System dynamics