added writer thread
gitignore and cscope