added index and reorganized file tree