Created index file and fixed file issues