create an index for loading models