typescript 1.0 support, added sample projects