Remove the setAppDir. Once app is set in the constructor, it is set
SetAppRootDir set the config once
Fix typo: Env::setConfigPath