Optionally specify configDir through second __construct() parameter.
Refactor mode.php getting and setting, see getModeFilePath().
Remove version number from source code.
Cleanup ExampleEnvironment file