A compound of Formula: or a stereoisomer thereof, or a pharmaceutically acceptable salt thereof, wherein: Q is selected from C and N; R 1, R 2, R 3 and R 4 which may be the same or different, are each selected from hydrogen, halogen, haloalkyl, alkyl, alkenyl, cycloalkyl, aryl, heterocyclyl, heteroaryl, alkynyl, -CN,-NR 10 R 11, -OR 10, -COR 10, -CO 2 R 10, -CONR 10 R 11, -C(=NR 10)NR 11 R 12, -NR 10 COR 11,-NR 10 CONR 11 R 12, -NR 10 CO 2 R 11, -SO 2 R 10, -NR 10 SO 2 NR 11 R 12, and -NR 10 SO 2 R 11, wherein the alkyl, alkenyl, alkynyl, cycloalkyl, heteroaryl, aryl, and heterocyclyl are optionally substituted with at least one substituent R 13, or (R 1 and R 2), and /or (R 3 and R 4), together with the ring to which they are attached, form a fused ring selected from heterocyclyl, and heteroaryl rings optionally substituted with at least one substituent R 14; provided that R 1 is absent when Q is N; R 5 is selected from hydrogen, halogen and CH 3; R 6 is selected from haloalkyl, alkyl, alkenyl, cycloalkyl, aryl, heterocyclyl, heteroaryl, alkynyl, wherein the alkyl, alkenyl, cycloalkyl, heteroaryl, aryl, and heterocyclyl are optionally substituted with at least one substituent R 15; R 10, R 11, R 12, R 13 and R 14 are each selected from hydrogen, halogen, haloalkyl, alkyl, alkenyl, cycloalkyl, aryl, heteroaryl, heterocyclyl, alkynyl, oxo, -CN, -OR', -NR'R", -COR',-CO 2 R', -CONR'R", -C(=NR')NR"R"', -NR'COR", -NR'CONR'R", -NR'CO 2 R", -SO 2 R',-SO 2 aryl, -NR'SO 2 NR"R", and NR'SO 2 R", wherein R', R", and R'" are independently selected from H, haloalkyl, alkyl, alkenyl, alkynyl, cycloalkyl, heterocyclyl, aryl, and heteroaryl, or (R' and R"), and /or (R" and R"') together with the atoms to which they are attached, form a ring selected from heterocyclyl, and heteroaryl rings; R 15 is selected from hydrogen, halogen, haloalkyl, alkyl, cycloalkyl, aryl, heteroaryl, heterocyclyl, -CN, -OR', -O-(CH 2) 0-2 -(heterocyclyl), -NR'R", CH 2 NR'R", C(Me) 2 NR'R", CH 2 <CNR'R" (i.e.), wherein R' and R" are independently selected from H, haloalkyl, alkyl, cycloalkyl, heterocyclyl, aryl, and heteroaryl, or (R' and R") together with the atoms to which they are attached, form a ring selected from heterocyclyl, and heteroaryl rings, wherein any of the alkyl, cycloalkyl, aryl, heteroaryl and heterocyclyl groups in R 15, R' and R" is optionally substituted. Q is selected from C and N; R 1, R 2, R 3 and R 4 which may be the same or different, are each selected from hydrogen, halogen, haloalkyl, alkyl, alkenyl, cycloalkyl, aryl, heterocyclyl, heteroaryl, alkynyl, -CN,-NR 10 R 11, -OR 10, -COR 10, -CO 2 R 10, -CONR 10 R 11, -C(=NR 10)NR 11 R 12, -NR 10 COR 11,-NR 10 CONR 11 R 12, -NR 10 CO 2 R 11, -SO 2 R 10, -NR 10 SO 2 NR 11 R 12, and -NR 10 SO 2 R 11, wherein the alkyl, alkenyl, alkynyl, cycloalkyl, heteroaryl, aryl, and heterocyclyl are optionally substituted with at least one substituent R 13, or (R 1 and R 2), and /or (R 3 and R 4), together with the ring to which they are attached, form a fused ring selected from heterocyclyl, and heteroaryl rings optionally substituted with at least one substituent R 14; provided that R 1 is absent when Q is N; R 5 is selected from hydrogen, halogen and CH 3; R 6 is selected from haloalkyl, alkyl, alkenyl, cycloalkyl, aryl, heterocyclyl, heteroaryl, alkynyl, wherein the alkyl, alkenyl, cycloalkyl, heteroaryl, aryl, and heterocyclyl are optionally substituted with at least one substituent R 15; R 10, R 11, R 12, R 13 and R 14 are each selected from hydrogen, halogen, haloalkyl, alkyl, alkenyl, cycloalkyl, aryl, heteroaryl, heterocyclyl, alkynyl, oxo, -CN, -OR', -NR'R", -COR',-CO 2 R', -CONR'R", -C(=NR')NR"R"', -NR'COR", -NR'CONR'R", -NR'CO 2 R", -SO 2 R',-SO 2 aryl, -NR'SO 2 NR"R", and NR'SO 2 R", wherein R', R", and R'" are independently selected from H, haloalkyl, alkyl, alkenyl, alkynyl, cycloalkyl, heterocyclyl, aryl, and heteroaryl, or (R' and R"), and /or (R" and R"') together with the atoms to which they are attached, form a ring selected from heterocyclyl, and heteroaryl rings; R 15 is selected from hydrogen, halogen, haloalkyl, alkyl, cycloalkyl, aryl, heteroaryl, heterocyclyl, -CN, -OR', -O-(CH 2) 0-2 -(heterocyclyl), -NR'R", CH 2 NR'R", C(Me) 2 NR'R", CH 2 <CNR'R" (i.e.), wherein R' and R" are independently selected from H, haloalkyl, alkyl, cycloalkyl, heterocyclyl, aryl, and heteroaryl, or (R' and R") together with the atoms to which they are attached, form a ring selected from heterocyclyl, and heteroaryl rings, wherein any of the alkyl, cycloalkyl, aryl, heteroaryl and heterocyclyl groups in R 15, R' and R" is optionally substituted.