Fix creating package and add some .gitignore.