Title: Analytical mechanics of space systems