Repo cleanup

* Removed old (not used) files and commented code
* Moved `lib/main.js` to `nscale.js`