Added an app setRootDir method