Dynamical astronomy, cosmology and astrobiology