Understanding the spread of anti-microbial resistance