A compound of Formula: wherein: A is selected from phenyl, 5-6 membered heterocyclic ring containing one or more hetero atoms selected from N, S and O and a(C 5 -C 7)cycloalkyl, wherein said phenyl is optionally substituted with one or more substituents independently selected from halogen, trifluoromethyl, trifluoromethoxy, (C 1 -C 4)alkyl, (C 1 -C 3)alkoxy, (C 3 -C 6)cycloalkyl, (C 3 -C 6)cycloalkyloxy, nitro, amino, hydroxyl, cyano, carboxamide, sulfonamide, methansulfonyl, said 5-6 membered heterocyclic ring is a 5-6 membered heteroaryl optionally substituted with one or more substituents independently selected from halogen, trifluoromethyl, trifluoromethoxy, (C 1 -C 4)alkyl, (C 1 -C 3)alkoxy, (C 3 -C 6)cycloalkyl, (C 3 -C 6)cycloalkyloxy, nitro, amino, hydroxyl, cyano, carboxamide, sulfonamide, methansulfonyl, or a 5-membered heterocyclic ring optionally substituted with (C 1 -C 3) alkyl; said (C 5 -C 7)cycloalkyl is optionally substituted independently with one or two (C 1 - C 4)alkyl; B is independently selected from -CONH-, -NHCO-, -SO 2 NH-, -NHCONH-; W is phenyl or heteroaryl group comprising one or two heteroatoms selected from N, O and S, being said phenyl or said heteroaryl optionally substituted independently with one or two (C 1 -C 4)alkyl, (C 1 -C 3)alkoxy, (C 3 -C 6)cycloalkyl, (C 3 -C 6)cycloalkyloxy; R and R 1 independently are selected from a group consisting of H, (C 1 -C 3)alkyl and (C 1 -C 3)alkoxy; m is 2; n is 1; X is N; Y is independently selected from H, CH 3, CH 2 -OH, CN; G is a 5-6 membered heteroaryl group, comprising one or more heteroatoms selected from N, O and S, and optionally substituted with one or more substituents independently selected from halogen, (C 1 -C 4)alkyl, (C 3 -C 6)cycloalkyl, or a salt, particularly a pharmaceutically acceptable salt, thereof. A is selected from phenyl, 5-6 membered heterocyclic ring containing one or more hetero atoms selected from N, S and O and a(C 5 -C 7)cycloalkyl, wherein said phenyl is optionally substituted with one or more substituents independently selected from halogen, trifluoromethyl, trifluoromethoxy, (C 1 -C 4)alkyl, (C 1 -C 3)alkoxy, (C 3 -C 6)cycloalkyl, (C 3 -C 6)cycloalkyloxy, nitro, amino, hydroxyl, cyano, carboxamide, sulfonamide, methansulfonyl, said 5-6 membered heterocyclic ring is a 5-6 membered heteroaryl optionally substituted with one or more substituents independently selected from halogen, trifluoromethyl, trifluoromethoxy, (C 1 -C 4)alkyl, (C 1 -C 3)alkoxy, (C 3 -C 6)cycloalkyl, (C 3 -C 6)cycloalkyloxy, nitro, amino, hydroxyl, cyano, carboxamide, sulfonamide, methansulfonyl, or a 5-membered heterocyclic ring optionally substituted with (C 1 -C 3) alkyl; said (C 5 -C 7)cycloalkyl is optionally substituted independently with one or two (C 1 - C 4)alkyl; B is independently selected from -CONH-, -NHCO-, -SO 2 NH-, -NHCONH-; W is phenyl or heteroaryl group comprising one or two heteroatoms selected from N, O and S, being said phenyl or said heteroaryl optionally substituted independently with one or two (C 1 -C 4)alkyl, (C 1 -C 3)alkoxy, (C 3 -C 6)cycloalkyl, (C 3 -C 6)cycloalkyloxy; R and R 1 independently are selected from a group consisting of H, (C 1 -C 3)alkyl and (C 1 -C 3)alkoxy; m is 2; n is 1; X is N; Y is independently selected from H, CH 3, CH 2 -OH, CN; G is a 5-6 membered heteroaryl group, comprising one or more heteroatoms selected from N, O and S, and optionally substituted with one or more substituents independently selected from halogen, (C 1 -C 4)alkyl, (C 3 -C 6)cycloalkyl, or a salt, particularly a pharmaceutically acceptable salt, thereof.