The mayor and aldermen shall have the power and authority to prevent animals from running at large and to take up and impound any animal found at large within the Town, to provide for the redemption of or sale of the same, and to enact such laws and ordinances as are necessary to carry out the provisions of this Section.