index file half done, new file structure