Added AppFolder function to OSDetector
Removed unused settings
Modified application to use new AppFolder function