Section 35. The board or officers authorized to lay out highways or town ways may lay out, construct and maintain bicycle paths under the provisions of law relative to the laying out, construction and maintenance of public ways.