creating index file and restructuring docs