update index page logic and update Directory Structure for README.md