Improve package.json: add npm commands, dependencies, and fix main
Add gitignore
Implement function "obtaintoken" for obtaining access token with CUI