Sec. 50.  Public buildings.
   That they may establish all public buildings necessary and proper for the town, and prevent the erection and establishment of wooden buildings in any part of the town where they may increase the danger of fire.