This invention provides compounds of the formula (I):wherein Y1, Y2, Z, X1, X2, and W′ are defined in the specification. These compounds are useful in the treatment of tyrosine kinases, MAPK signaling pathway kinases and PI3K / AKT / mTor signaling pathway kinases-mediated diseases or conditions, such as neurodegeneration, neuroprotection, cancer, autoimmune as well as other diseases and conditions associated with the modulation of tyrosine kinases selected from FYN, FYN Y531F, FLT3, FLT3-ITD, BRK, ITK, FRK, BTK, BMX, SRC, FGR, YES1, LCK, HCK, RET, CSK, LYN, and ROS1; MAPK pathway kinases selected from ARAF, BRAF, CRAF, ERK1 / 2, MEK1, MEK2, MEK3, MEK4, MEK5, MEK6, and MEK7; and PI3K / AKT / mTor pathway kinases: selected from mTor, PI3K α, PI3K β, PI3K γ, and PI3K δ.