Any county or municipality may separately or jointly establish and maintain detention facilities, shelter facilities, foster homes, or any other facility necessary to carry on the work of the youth court. For said purposes, the county or municipality may acquire necessary land by condemnation, by purchase or donation, may issue bonds as now provided by law for the purpose of purchasing, constructing, remodeling or maintaining such facilities; may expend necessary funds from the general fund to construct and maintain such facilities, and may employ architects to design or remodel such facilities. Such facilities may include a place for housing youth court facilities and personnel.