There is hereby created in the city a civil service commission, which shall have 3 members who shall each be a citizen of the United States, a resident of the city for at least 3 years immediately preceding the appointment and an elector of the county.