Every municipality shall have power to establish and regulate markets and build market houses.
SDCL 9-34-2