Theoretical studies on a two strain model of drug resistance: understand, predict and control the emergence of drug resistance