Added index factory file