Code containing migration, tides for integrating a solar system