misc changes

- refactored lang.js
- added logs in CLI
- removed launch.bat