code: public static File getBaseConfigDirectory() {
      if (null != teBaseDir) {
        return teBaseDir;
      }
      String basePath = System.getProperty(TE_BASE);
      if (null == basePath) {
        basePath = System.getenv(TE_BASE);
      }
      if (null == basePath) {
        basePath = System.getProperty("user.home")
                + System.getProperty("file.separator") + "teamengine";
      }
      File baseDir = new File(basePath);
      if (!baseDir.isDirectory()) {
        baseDir.mkdirs();
      }
      Logger.getLogger(SetupOptions.class.getName()).log(Level.CONFIG,
              "Using TE_BASE at " + baseDir);
      return baseDir;
    }
docs: Determines the location of the TE_BASE directory by looking for either 1)
  a system property or 2) an environment variable named {@value #TE_BASE}.
  Finally, if neither is set then the "teamengine" subdirectory is created
  in the user home directory (${user.home}/teamengine).
  
  @return A File denoting the location of the base configuration directory.