modify the gitignore files; add compile script