Targeting Bacterial Resistance and Cancer Metastasis: A Structure Based Approach