. . . "tions, and subject to such regulations as they may by ordinance" .