The city council shall have power to establish a city police department, to organize it under the general superintendence of the mayor, and to prescribe its duties and define its powers in such manner as will most effectually preserve the peace of the city, secure the citizens thereof from personal violence, and safeguard their property from fire and unlawful depredations.