Add .gitignore and ignore pkg directory