Any city or town owning a public domain may lease any building thereon, and it may erect thereon any building for public instruction and recreation. All sums derived from rents or from the sale of the products of any such domain shall be applied, so far as may be necessary, to the management thereof.
Mass. Gen. Laws ch. 45, § 22