General gravitational N-body code to simulate the Solar System, exoplanetary systems and formation of planetary systems.