(b) Within the funds available, rehabilitative programs and services shall be provided by or through each such facility and may include, but not be limited to, medical, educational, vocational, social and psychological guidance, training, counseling, alcoholism treatment, drug treatment and other rehabilitative services. The department of health and human resources shall provide to each status offender committed to the facility a program of treatment and services consistent with the individualized program of rehabilitation developed for such juvenile. In the case of any other juvenile residing at the facility, the department shall provide such programs and services as may be proper in the circumstances including, but not limited to, any such programs or services directed to be provided by the court.
(c) The board of education of the county in which the facility is located shall provide instruction for juveniles residing at the facility. Residents who can be permitted to do so shall attend local schools, and instruction shall otherwise take place at the facility.
(d) Facilities established pursuant to this section shall be structured as community-based facilities.