The invention relates to the compounds or its pharmaceutical acceptable polymorphs, solvates, enantiomers, stereoisomers and hydrates thereof. The pharmaceutical compositions comprising an effective amount of compounds of formula I, formula II, formula III, formula IV, formula V, formula VI, formula VII and formula VIII and, the methods for the treatment of cancer and infectious diseases may be formulated for oral, buccal, rectal, topical, transdermal, transmucosal, lozenge, spray, intravenous, oral solution, buccal mucosal layer tablet, parenteral administration, syrup, or injection. Such compositions may be used to treatment of cancer, neoplasm, infections and skin diseases.