Design, synthesis & characterization of nitrogen containing heterocycles as biologically active agents