update header info and .gitignore.