Add public api getBaseDir & getAbsolutePath