The dynamics of stars near Sgr A∗ and dark matter at the center and in the halo of the galaxy