change .gitignore by official guideline and add config files.