A compound having the general formula I: wherein X is CH or N; Y is CH, O or N; m is 0 or 1; n is 0 or 1; R 1 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, methyl, ethyl, t-butyl, phenyl, -NC(O)R 5 , -OR 5 , -C(O)R 5 , -C(O)OR 5 ; R 2 is, at each occurrence, independently selected from the group consisting of hydrogen and hydroxyl; R 3 is, at each occurrence, independently selected from the group consisting of methyl and ethyl; R 4 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, methyl, -methoxy and -CF 3 ; R 5 is, at each occurrence, independently selected from the group consisting of C 1 -C 3 alkylhetorocycle, phenyl and benzyl; and pharmaceutically acceptable salts thereof; or a compound having the general formula VII: wherein X is CH or N R 24 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, C 1 -C 2 alkyl, -methoxy, -CF 3 and -OCF 3 ; R 25 is, at each occurrence, independently selected from the group consisting of methyl and ethyl; R 26 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, methyl, -methoxy and -CF 3 ; and pharmaceutically acceptable salts thereof, or a compound having the general formula VIII: wherein X is CH 2 or NH n is 0 or 1 R 27 is, at each occurrence, independently selected from the group consisting of methyl and ethyl; R 28 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, methyl, -methoxy and -CF 3 ; and pharmaceutically acceptable salts thereof, wherein the compound has one of the formulae 1-231, 238, 281-285, 289-300, 309-316, 325-328, 333-337, 340-350, as shown in the following table: , preferably one of the formulae 1-21, 23-24, 26, 28-33, 35-57, 59-77, 79-83, 85-87, 90-98, 100-102, 106-111, 113-116 118-124, 126-128, 130-142, 144-150, 153, 155-167, 169-184, 186-188, 190-197, 199, 201, 203-208, 210-211, 213-214, 216, 218-231, 238, 281-285, 289-300, 309-316, 325-328, 333-337, 340-350 as shown above. X is CH or N; Y is CH, O or N; m is 0 or 1; n is 0 or 1; R 1 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, methyl, ethyl, t-butyl, phenyl, -NC(O)R 5 , -OR 5 , -C(O)R 5 , -C(O)OR 5 ; R 2 is, at each occurrence, independently selected from the group consisting of hydrogen and hydroxyl; R 3 is, at each occurrence, independently selected from the group consisting of methyl and ethyl; R 4 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, methyl, -methoxy and -CF 3 ; R 5 is, at each occurrence, independently selected from the group consisting of C 1 -C 3 alkylhetorocycle, phenyl and benzyl; X is CH or N R 24 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, C 1 -C 2 alkyl, -methoxy, -CF 3 and -OCF 3 ; R 25 is, at each occurrence, independently selected from the group consisting of methyl and ethyl; R 26 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, methyl, -methoxy and -CF 3 ; X is CH 2 or NH n is 0 or 1 R 27 is, at each occurrence, independently selected from the group consisting of methyl and ethyl; R 28 is, at each occurrence, independently selected from the group consisting of hydrogen, halogen, methyl, -methoxy and -CF 3 ; <EOS>