update index page, create default layout and config