The purpose of sections 39-130139-1314, Idaho Code, is to provide for the development, establishment and enforcement of standards (1) for the care and treatment of individuals in facilities or by agencies as defined, and (2) for the construction, maintenance and operation of facilities or agencies as defined which, in the light of advancing knowledge, will promote safe and adequate treatment of such individuals in facilities or by agencies as defined.