Synthetic studies on biologically active novel heterocycles and their applications using membranes for controlled release of drugs