REFACTOR index page to make it more hackish