The basics of controlling infectious diseases