add files and code for index page