Design, Synthesis and Evaluation of Heterocyclic Compounds for Antibacterial Applications