List the major function(s) of the following components of the central nervous system:
- Basal ganglia
- Thalamus
- Hypothalamus
- Cerebellum
- Midbrain
- Pons
- Medulla
- Spinal cord