added main index page and directory