Add common gyp file; Add for.cpp sample