Add .gitignore and lib files.