add Guard into defines.h
add .gitignore file