This article shall only apply to cities and towns which have heretofore adopted the same or which may hereafter elect to operate under the provisions herein contained.