code: RamResourceCore createCore(String path, int type) throws IOException {
  	String[] names = ListUtil.listToStringArray(path, '/');
  	RamResourceCore rrc = root;
  	for (int i = 0; i < names.length - 1; i++) {
  	    rrc = rrc.getChild(names[i], caseSensitive);
  	    if (rrc == null) throw new IOException("can't create resource " + path + ", missing parent resource");
  	}
  	rrc = new RamResourceCore(rrc, type, names[names.length - 1]);
  	return rrc;
      }
docs: create a new core
  
  @param path
  @param type
  @return created core
  @throws IOException