The public library shall be managed by a board of library trustees, consisting of five members, to be appointed by the mayor, president of the board of trustees, or other executive head of the municipality, with the consent of the legislative body of the municipality.