On the acceleration, dynamics, and propagation of cosmic rays