The mayor and city council of Fort Valley shall have power and authority to establish such quarantine regulations against persons who have been exposed to smallpox, yellow fever, and all other contagious or infectious diseases as it may be deemed proper, and to establish a smallpox hospital or pesthouse, and any case of smallpox, yellow fever or other contagious or infectious disease within said city to cause to be removed to said hospital or pesthouse all persons afflicted with said diseases, except such persons as shall, at their own expense, provide suitable and sufficient guards to successfully quarantine the premises where said case or cases of smallpox, yellow fever and other contagious and infectious diseases may be located.