code: public static <T> T newInstance(String className, SiteConfig config) {
          return newInstance(className, null, null, config);
      }
docs: Create a new instance for the specified class name.
  
  @param className class name
  @param config    site config
  @return new instance