add package.json and update gitignore to ignore node_modules.