Fixes package JSON and adds gitignore
Adds debug stmts for troubleshooting