Added index page and changed variable names