[minor] require package.json
[minor] refactoring environment
[minor] remove console.log

who wants leftovers?!
[minor] further environment and config refactor