minor refactoring:
* renamed `mode` to `environment`
* moved environment and port in the conductor's config object
* added a couple tests
* updated the example
* updated the readme
* bumped NPM version