Added error handling
Add missing fields from package.json (npm init)