modulize index page