The __________ is responsible for maintaining homeostasis in the body and acts a primary link between the nervous and endocrine systems.