Added JayDirectoryIndex singleton to store visited directories