Add package.json and gitignore
updated logging