A municipality may construct, purchase, rehabilitate, care for and adopt rules and regulations for the management of public buildings.