Modern Celestial Mechanics: From Theory to Applications