Moves `env` and `generator` instatiation to `_onReady` so user have a chance to alter
the environment to the a specific way and expect `env` and `generator` reflects such
settings. Also emits `ready` event right before calling `generator.run()` to allow any
last minute operation on the `generator`

fixes #565