The purpose of the youth development centers is to promote and safeguard the social well-being and general welfare of minors of this Commonwealth by providing social services and facilities for the rehabilitation of delinquent minors who require care, guidance and control.
62 P.S. § 341