Prototype
Added better error handling
Removed unnecessary files
Added db_credentials to .gitignore