Added gitignore
Added package.json
Better error handling. Removed logs.