What is found at the base of the brain, which controls the pituitary gland and maintains homeostasis?