Added a method to get the root app directory