adds package.json and extends .gitignore