Galactic Dynamics and Stellar Formation